﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class Info_Picture : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["UserName"] == null)
        {
            Response.Write("<script>alert('请先登录!');window.location.href='../Login.aspx'</script>");
        }
       // else if (Convert.ToInt32(Session["Purview"]) < 5)
      //  {
       //     Response.Write("<script>alert('你无权查看此页！');window.close();</script>");
       // }
        else
        {
            Bind();
        }
    }
    public void Bind()
    {
        Sqlselete sl = new Sqlselete();
        DataList1.DataSource = sl.SelectTInfo().Tables[0];
        DataList1.DataBind();
    }
  
}
